package com.yan.demo;

public class Demo3 {
    public static void main(String[] args) {
        Manager m = new Manager();
        m.setName("燕付涛");
        m.setId(123);
        m.setBonus(6000);
        m.setSalary(15000);
        m.work();

        Coder c = new Coder();
        c.setId(135);
        c.setSalary(10000);
        c.setName("yft");
        c.work();
    }
}
